// cover some element-ui styles

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}

/* el-btn 的覆盖样式 */
.el-button--medium {
  font-size: 18px;
}
/* 上传的预览样式的修改 */
.el-upload-list--picture .el-upload-list__item {
  height: 260px;
}
.el-upload-list--picture .el-upload-list__item-thumbnail {
  width: 60%;
  height: 100%;
}
/* label标签修改 */
.el-form-item__label {
  font-size: 18px;
  color: #525252;
}
/* form中的元素垂直居中 */
.el-form-item {
  margin-bottom: 0;
  margin-left: 15px;
}
.el-form-item--small.el-form-item {
  margin-bottom: 0;
}
/* form中的input元素 高亮的颜色修改 */
.el-input__inner:focus {
  border-color: #7CC97C;
}
.el-select .el-input.is-focus .el-input__inner {
  border-color: #7CC97C;
}
.el-textarea__inner:focus {
  border-color: #7CC97C;
}

/* input元素设为font-size 18 */
.el-input__inner,
.el-textarea__inner {
  /* background: #F2F2F2; */
  font-size: 18px;
}
/* input元素设为font-size 16 */
.el-input--medium {
  font-size: 16px;
}

.cell {
  .el-tag {
    margin-right: 0;
  }
}

.small-padding {
  .cell {
    padding-left: 5px;
    padding-right: 5px;
  }
}

.fixed-width {
  .el-button--mini {
    padding: 7px 10px;
    width: 60px;
  }
}

.status-col {
  .cell {
    padding: 0 10px;
    text-align: center;

    .el-tag {
      margin-right: 0;
    }
  }
}

// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}

// refine element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

// dropdown
.el-dropdown-menu {
  a {
    display: block
  }
}

// fix date-picker ui bug in filter-item
.el-range-editor.el-input__inner {
  display: inline-flex !important;
}
